package cz.czu.pef.DataModelling.ejb.api;

import javax.ejb.Remote;

import cz.czu.pef.DataModelling.dao.DaoBasic;

@Remote
public interface AbstractWrapperService<T> extends DaoBasic<T>
{
	/**
	 * Indicates whether given entity can be removed or still is referenced by other related entities.
	 * 
	 * @param entity
	 * @return boolean
	 */
	boolean canBeRemoved(T entity);
}
